<include file="Common:header" />
<script src="<{:__PUBLIC__}>/js/kindeditor/kindeditor.js" type="text/javascript"></script>
<script type="text/javascript">
KE.show({
    id : 'content1',
    wyswygMode : false
});
KE.show({
    id : 'content2',
    wyswygMode : false
});
KE.show({
    id : 'content3',
    wyswygMode : false
});
</script>
<div class="infomation"><b>说明：</b>该功能只设置全站的通用三个广告位，侧栏添加广告，您可以在【侧栏设置】里添加。</div><br/>
<form action='<{:SITE_URL}>/admin.php?s=/Setting/webset' method="POST">
<h3>通用广告管理</h3>
<table style="margin:5px 0 20px 0">
<tr height="220px">
    <td width="130px" valign="top"><img src="<{:__PUBLIC__}>/admin/ad1.jpg" style="border:1px solid #cccccc;padding:2px"></td>
    <td valign="top"><textarea id="content1" name="site[ad1]" style="width:550px;height:200px;font-size:12px"><{:stripslashes($site['ad1']['contents'])}></textarea></td>
</tr>
<tr height="220px">
    <td width="130px" valign="top"><img src="<{:__PUBLIC__}>/admin/ad2.jpg" style="border:1px solid #cccccc;padding:2px"></td>
    <td valign="top"><textarea id="content2" name="site[ad2]" style="width:550px;height:200px;font-size:12px"><{:stripslashes($site['ad2']['contents'])}></textarea></td>
</tr>
<tr>
    <td width="130px" valign="top"><img src="<{:__PUBLIC__}>/admin/ad3.jpg" style="border:1px solid #cccccc;padding:2px"></td>
    <td valign="top"><textarea id="content3" name="site[ad3]" style="width:550px;height:200px;font-size:12px"><{:stripslashes($site['ad3']['contents'])}></textarea></td>
</tr>
</table>
<input type="hidden" name="reurl" value="Setting/ads">
<input type="submit" class="button1 submit" value="保存提交">
</form>
<include file="Common:foot" />